Skip to content

Conversation

@tuha263
Copy link

@tuha263 tuha263 commented Oct 28, 2025

Summary

This PR fixes the workflow_dispatch trigger to properly support manual publishing of all packages.

Changes

  • ✅ Detect trigger type (workflow_dispatch vs push)
  • ✅ When manually triggered, scan ALL package.json files
  • ✅ Support specific package_path input parameter
  • ✅ Exclude node_modules and hidden directories from scan

Problem Solved

Previously, manual workflow_dispatch triggers would exit immediately with "No package.json files changed" because they had no recent commits. This prevented publishing unpublished packages manually.

Testing

  • Manual trigger without package_path scans all packages
  • Manual trigger with package_path publishes specific package
  • Automatic push triggers still work as before

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

- Add logic to detect trigger type (workflow_dispatch vs push)
- When manually triggered, scan ALL package.json files instead of just changed ones
- Supports specific package_path input or scans entire repository
- Fixes issue where manual triggers failed with 'No package.json files changed'
- Excludes node_modules and hidden directories from scan

This allows manual publishing of unpublished packages without requiring version bump commits.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@tuha263 tuha263 merged commit d629549 into main Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants